Dependent Types for Multi-Rate Flows in Synchronous Programming (System Description)

نویسندگان

  • William Blair
  • Hongwei Xi
چکیده

Synchronous programming languages emerged in the 1980s as tools for implementing reactive systems, which interact with events from physical environments and often must do so under strict timing constraints. In this report, we encode inside ATS various real-time primitives in an experimental synchronous language called Prelude, where ATS is a statically typed language with an ML-like functional core that supports both dependent types (of DML-style) and linear types. We show that the verification requirements imposed on these primitives can be formally expressed in terms of dependent types in ATS. Moreover, we modify the Prelude compiler to automatically generate ATS code from Prelude source. This modified compiler allows us to solely rely on typechecking in ATS to discharge proof obligations originating from the need to typecheck Prelude code. Whereas ATS is typically used as a general purpose programming language, we hereby demonstrate that it can also be conveniently used to support some forms of advanced static checking in languages equipped with less expressive types.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Dependent Types for Multi-Rate Flows in Synchronous Programming

Synchronous programming languages emerged in the 1980s as tools for implementing reactive systems, which interact with events from physical environments and often must do so under strict timing constraints. In this report, we encode inside ATS various real-time primitives in an experimental synchronous language called Prelude, where ATS is a statically typed language with an ML-like functional ...

متن کامل

System Description Aspects as Syntactic Sugar

Many different system description and specification languages are used in modern design flows to emphasize different aspects like modular architecture, multithreaded behavior, abstract action-oriented behavior, and the desired temporal properties. However, the use of many specialized languages complicates the development of seamless and robust design flows. In this paper, we show that synchrono...

متن کامل

A multi-stage stochastic programming for condition-based maintenance with proportional hazards model

Condition-Based Maintenance (CBM) optimization using Proportional Hazards Model (PHM) is a kind of maintenance optimization problem in which inspections of a system relevant to its failure rate depending on the age and value of covariates are performed in time intervals. The general approach for constructing a CBM based on PHM for a system is to minimize a long run average cost per unit of time...

متن کامل

A multi-objective inventory model for deteriorating items with backorder and stock dependent demand

Classical deterministic inventory models consider the demand rate to be either constant or time-dependent but independent from the stock status. However, for a certain type of inventory, the demand rate may be in-fluenced by the stock level. Also in many real-life problems, some products such as fruits, vegetables, phar-maceuticals and volatile liquids continuously deteriorate to evaporation, o...

متن کامل

Optimal overhaul–replacement policy for a multi-degraded repairable system sold with warranty

In this research, we study an optimal overhaul–replacement policy of a multi-degraded repairable system sold with a free replacement warranty. In the proposed replacement policy, a maintenance action and failure are dependent on a system degradation level and the system age, and hence the replacement model will provide more effective maintenance decisions. Failure of the system is modeled using...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2017